package flatbuf
import "strconv"
type SparseTensorIndex byte
const (
SparseTensorIndexNONE SparseTensorIndex = 0
SparseTensorIndexSparseTensorIndexCOO SparseTensorIndex = 1
SparseTensorIndexSparseMatrixIndexCSX SparseTensorIndex = 2
SparseTensorIndexSparseTensorIndexCSF SparseTensorIndex = 3
)
var EnumNamesSparseTensorIndex = map [SparseTensorIndex ]string {
SparseTensorIndexNONE : "NONE" ,
SparseTensorIndexSparseTensorIndexCOO : "SparseTensorIndexCOO" ,
SparseTensorIndexSparseMatrixIndexCSX : "SparseMatrixIndexCSX" ,
SparseTensorIndexSparseTensorIndexCSF : "SparseTensorIndexCSF" ,
}
var EnumValuesSparseTensorIndex = map [string ]SparseTensorIndex {
"NONE" : SparseTensorIndexNONE ,
"SparseTensorIndexCOO" : SparseTensorIndexSparseTensorIndexCOO ,
"SparseMatrixIndexCSX" : SparseTensorIndexSparseMatrixIndexCSX ,
"SparseTensorIndexCSF" : SparseTensorIndexSparseTensorIndexCSF ,
}
func (v SparseTensorIndex ) String () string {
if s , ok := EnumNamesSparseTensorIndex [v ]; ok {
return s
}
return "SparseTensorIndex(" + strconv .FormatInt (int64 (v ), 10 ) + ")"
}
The pages are generated with Golds v0.8.2 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .